﻿@{
    ViewBag.WLTGongZuoGuanLiView = "active";
    ViewBag.Title = "月报";
    Layout = "~/Views/Shared/_layout_wenlvting.cshtml";
}

<div class="title_name">@ViewBag.jd_name--@ViewBag.bb_name--填报</div>
<div class="register">
    <div class="tab_name mar55">
        <span class="over">接待客人数（境内）</span>
        <input type="text" v-model="modelYB.jiedai_renshu_jingnei" required="required" placeholder="" class="gao">
    </div>
    <div class="tab_name mar55">
        <span class="over">接待客人数（境外）</span>
        <input type="text" v-model="modelYB.jiedai_renshu_jingwai" required="required" placeholder="" class="gao">
    </div>
    <div class="tab_name">
        客源情况<br />
        <input type="text" v-model="modelYB.keyuan_qingkuang_json" required="required" placeholder="性别、籍贯、年龄" class="gao">
    </div>
</div>
<div class="register">
    <div class="tab_name mar55">
        平均住宿天数<br />
        <input type="text" v-model="modelYB.pingjun_zhusu_tianshu" required="required" placeholder="" class="gao">
    </div>
    <div class="tab_name mar55">
        大床房价<br />
        <input type="text" v-model="modelYB.dachuang_fangjia" required="required" placeholder="" class="gao">
    </div>
    <div class="tab_name">
        双标房价<br />
        <input type="text" v-model="modelYB.shuangbiao_fangjia" required="required" placeholder="398.00" class="gao">
    </div>
</div>
<div class="register">
    <div class="tab_four marfour">
        套房房价<br />
        <input type="text" v-model="modelYB.taofang_fangjia" required="required" placeholder="" class="gao">
    </div>
    <div class="tab_four marfour">
        <span class="over">残疾人无障碍房房价</span>
        <input type="text" v-model="modelYB.wuzhangai_fangjia" required="required" placeholder="" class="gao">
    </div>
    <div class="tab_four marfour">
        平均房价<br />
        <input type="text" v-model="modelYB.pingjun_fangjia" required="required" placeholder="" class="gao">
    </div>
    <div class="tab_four">
        间房收益<br />
        <input type="text" v-model="modelYB.fangjian_shouyi" required="required" placeholder="" class="gao">
    </div>
</div>

<div class="register">
    <div class="tab_four marfour">
        <span class="over">当月可供出租客房数</span>
        <input type="text" v-model="modelYB.kegong_chuzu_fangshu" required="required" placeholder="" class="gao">
    </div>
    <div class="tab_four marfour">
        可供出租间夜数<br />
        <input type="text" v-model="modelYB.kegong_chuzu_jianyeshu" required="required" placeholder="" class="gao">
    </div>
    <div class="tab_four marfour">
        实际出租间夜数<br />
        <input type="text" v-model="modelYB.shiji_chuzu_jianyeshu" required="required" placeholder="" class="gao">
    </div>
    <div class="tab_four">
        营业收入<br />
        <input type="text" v-model="modelYB.yingye_shouru" required="required" placeholder="" class="gao">
    </div>
</div>
<div class="register">
    <div class="tab_four marfour">
        <span class="over">客房收入</span>
        <input type="text" v-model="modelYB.kefang_shouru" required="required" placeholder="" class="gao">
    </div>
    <div class="tab_four marfour">
        餐饮收入<br />
        <input type="text" v-model="modelYB.canyin_shouru" required="required" placeholder="" class="gao">
    </div>
    <div class="tab_four marfour">
        其他收入<br />
        <input type="text" v-model="modelYB.qita_shouru" required="required" placeholder="" class="gao">
    </div>
    <div class="tab_four">
        职工人数<br />
        <input type="text" v-model="modelYB.zhigong_renshu" required="required" placeholder="" class="gao">
    </div>
</div>

<div class="register">
    <div class="tab_four marfour">
        <span class="over">大专学历职工人数</span>
        <input type="text" v-model="modelYB.dazhuan_zhigong_renshu" required="required" placeholder="" class="gao">
    </div>
    <div class="tab_four marfour">
        <span class="over">本科学历职工人数</span>
        <input type="text" v-model="modelYB.benke_zhigong_renshu" required="required" placeholder="" class="gao">
    </div>
    <div class="tab_four marfour">
        <span class="over">硕士学历职工人数</span>
        <input type="text" v-model="modelYB.shuoshi_zhigong_renshu" required="required" placeholder="" class="gao">
    </div>
    <div class="tab_four">
        <span class="over">博士学历职工人数</span>
        <input type="text" v-model="modelYB.boshi_zhigong_re" required="required" placeholder="" class="gao">
    </div>
</div>

<div class="register">
    <div class="tab_four marfour">
        男性职工<br />
        <input type="text" v-model="modelYB.nanxing_zhigong_renshu" required="required" placeholder="" class="gao">
    </div>
    <div class="tab_four marfour">
        女性职工<br />
        <input type="text" v-model="modelYB.nvxing_zhigong_renshu" required="required" placeholder="" class="gao">
    </div>
    <div class="tab_four marfour">
        线上预订预订情况<br />
        <input type="text" v-model="modelYB.xianshang_yuding_shu" required="required" placeholder="" class="gao">
    </div>
    <div class="tab_four">
        线下预订预订情况<br />
        <input type="text" v-model="modelYB.xianxia_yuding_shu" required="required" placeholder="" class="gao">
    </div>
</div>

<div class="register">
    <div class="tab_two marfour">
        同集团酒店在建情况<br />
        <input type="text" v-model="modelYB.tongjituan_zaijian_json" required="required" placeholder="数量、品牌名称、酒店名称、所在市县" class="gao">
    </div>
    <div class="tab_two ">
        同集团酒店拟建情况<br />
        <input type="text" v-model="modelYB.tongjituan_nijian_json" required="required" placeholder="数量、品牌名称、酒店名称、所在市县" class="gao">
    </div>
</div>
<div v-if="showData==0" class="btn_refer">
    退回原因<br />
    <input type="text" v-model="modelYB.shenhe_jujue_shuoming" />
</div>

<div v-if="showData==0" class="btn_refer">
    <div class="btn_fenlei">
        <button class="btn_style02 blue" v-on:click="ModifyBBZhuangTaiP(1)">审核通过</button>
    </div>
    <div class="btn_fenlei">
        <button class="btn_style02 grey" onclick="history.back();">返回</button>
    </div>
    <div class="btn_fenlei">
        <button class="btn_style02 red" v-on:click="ModifyBBZhuangTaiP(2)">提报退回</button>
    </div>

</div>

<script>
    var vm = new Vue({
        el: '#app',
        data: {
            modelYB:@Html.Raw(ViewBag.modelYB),
            showData:@ViewBag.showData ,
        },
        methods: {
            ModifyBBZhuangTaiP: function (zt) {
                $.post("/WenLvTing/ModifyBBZhuangTaiP", { bbtype: 1, bbid: vm.modelYB.id, zt: zt, beizhu: vm.modelYB.shenhe_jujue_shuoming }, function (res) {
                    alert(res.msg);
                    if (res.code > 0) {
                        to_url("/WenLvTing/WLTGongZuoGuanLiView");
                    }
                })
            },

        }
    })

    $(function(){

    });
</script>

